package mynet;

/**
 * @Auther: cty
 * @Date: 2020/1/14 19:06
 * @Description:
 * @version: 1.0
 */
public class Be_UdpStudent {
    public static void main(String[] args) {
        Be_UdpTalkReceive stuRec = new Be_UdpTalkReceive("老师",6666);
        Be_UdpTalkSend stuSend = new Be_UdpTalkSend(8888,"localhost",9999);

        new Thread(stuRec).start();
        new Thread(stuSend).start();
    }
}
